﻿<Page
    x:Class="WellDone.GiftCardDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WellDone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid
        x:Name="RootPanel"
        Background="#FF98DEF8"
        Opacity=".75"
        HorizontalAlignment="Stretch"
        VerticalAlignment="Stretch">

        <Grid x:Name="LayoutRoot" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Width="500" Height="530" >
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock HorizontalAlignment="Center" Margin="0,10" FontSize="30" TextWrapping="Wrap" Text="Gift Card" VerticalAlignment="Top"/>
            <RadioButton x:Name="rbCheckBalanace" Content="Check Balance" HorizontalAlignment="Left" FontSize="28" Margin="45,60,0,0" Padding="3,-6,0,0" VerticalAlignment="Top" IsChecked="True" />
            <RadioButton x:Name="rbActivate" Content="Activate" HorizontalAlignment="Left" FontSize="28" Margin="45,100,0,0" Padding="3,-6,0,0" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="80,140,160,0" TextWrapping="Wrap" Text="Initial Amount" FontSize="30" VerticalAlignment="Top"/>
            <TextBox x:Name="tbInitialAmount" Width="120" Height="50" HorizontalAlignment="Left" Margin="280,120,20,0" TextWrapping="Wrap" TextAlignment="Right" Text="" FontSize="30" VerticalAlignment="Top" SelectionHighlightColor="#FF98DEF8"/>
            <RadioButton x:Name="rbAddValue" Content="Add Value" HorizontalAlignment="Left" FontSize="28" Margin="45,180,0,0" Padding="3,-6,0,0" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="95,220,160,0" TextWrapping="Wrap" Text="Add Amount" FontSize="30" VerticalAlignment="Top"/>
            <TextBox x:Name="tbAddAmount" Width="120" Height="50" HorizontalAlignment="Left" Margin="280,200,20,0" TextWrapping="Wrap" TextAlignment="Right" Text="" FontSize="30" VerticalAlignment="Top" SelectionHighlightColor="#FF98DEF8"/>
            <RadioButton x:Name="rbRefund" Content="Refund" HorizontalAlignment="Left" FontSize="28" Margin="45,260,0,0" Padding="3,-6,0,0" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="96,300,160,0" TextWrapping="Wrap" Text="Refund Amount" FontSize="30" VerticalAlignment="Top"/>
            <TextBox x:Name="tbRefundAmount" Width="120" Height="50" HorizontalAlignment="Left" Margin="320,280,20,0" TextWrapping="Wrap" TextAlignment="Right" Text="" FontSize="30" VerticalAlignment="Top" SelectionHighlightColor="#FF98DEF8"/>
            <RadioButton x:Name="rbSale" Content="Sale" HorizontalAlignment="Left" FontSize="28" Margin="45,340,0,0" Padding="3,-6,0,0" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Margin="96,380,160,0" TextWrapping="Wrap" Text="Sale Amount" FontSize="30" VerticalAlignment="Top"/>
            <TextBox x:Name="tbSaleAmount" Width="120" Height="50" HorizontalAlignment="Left" Margin="280,360,20,0" TextWrapping="Wrap" TextAlignment="Right" Text="" FontSize="30" VerticalAlignment="Top" SelectionHighlightColor="#FF98DEF8"/>
            <Button x:Name="btnOK" Content="OK" Width="120" Height="85" FontSize="28" Margin="30,10" HorizontalAlignment="Left" Grid.Row="1" Click="btnOK_Click" />
            <Button x:Name="btnCancel" Content="Cancel" Width="120" Height="85" Margin="30,10" FontSize="28" HorizontalAlignment="Right" Grid.Row="1" Click="btnCancel_Click" />
        </Grid>
    </Grid>
</Page>
